all—Test for non-zero matrix


\begin{rail}
All : 'all' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
all tests for non-zero arguments. If the argument is a scalar, the result is 0 if the argument is 0 - otherwise the result is 1. If the argument is a row or column vector, all returns a 1 if all of the elements are non-zero. If the argument is some other kind of matrix, all returns a row vector produced by performing the test on each column in turn.

Subsections